<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ include file="/common/include.jsp"%>
<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="description" content="">
    <meta name="author" content="">
    <link rel="shortcut icon" href="img/favicon.png">

    <title></title>
    <script type="text/javascript">
    $(function(){ 
       $('.dropdown-toggle').dropdown()
    });
    function content(id){
      if(id==1){
        $("#content").load("proManage!init");
      }else if(id==2){
        $("#content").load("orderManage!init");
      }
      
    }
    </script>
  </head>

  <body>

   <div class="container" id="contentDiv">
 <!-- Navbar
    ================================================== -->
     <button type="button" class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
      <span class="icon-bar"></span>
      <span class="icon-bar"></span>
      <span class="icon-bar"></span>
    </button>
    <div class="navbar navbar-inverse navbar-fixed-top">
      <div class="navbar-inner">
        <div class="container">
          <a class="brand" href="./index.jsp">简易ERP</a>
          <div class="nav-collapse collapse">
            <ul class="nav">
              <li class="">
                <a href="javascript:content(1)">商品管理</a>
              </li>
              <li class="">
                <a href="javascript:content(2)">订单管理</a>
              </li>
            </ul>
          </div>
        </div>
      </div>
    </div>
    
    <div id="content"></div>
    </div> <!-- /container -->

    
  </body>
</html>
